package pattern.creational.AbstractFactory;

public class ClientDemo {

	public static void main(String[] args) {
		AbstractFactory factory1 = new ConcreteFactory1();
		AbstractFactory factory2 = new ConcreteFactory2();
		
		ProductA a1 = factory1.factoryA();
		ProductB b1 = factory1.factoryB();
		ProductA a2 = factory2.factoryA();
		ProductB b2 = factory2.factoryB();
		
	}
}
